package com.ruoyi.news.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小程序-钱包明细对象 xcx_wallet_info
 * 
 * @author ruoyi
 * @date 2024-10-29
 */

@Data
public class XcxWalletInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 金额 */
    @Excel(name = "金额")
    private String money;


    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    //订单
    private XcxOrderMain orderMain;

    private XcxGoodsOrder goodsOrder;

    //佣金率
    private String raid;

    private String userName;

    private String avatar;

    private String newUserId;

    /** 业务ID */
    @Excel(name = "业务ID")
    private String bid;


    /** 修改金额时候 所用*/
    private BigDecimal newPrice;
    private BigDecimal oldPrice;

}
